package com.fd.wpx.blog.mapper;

import com.fd.wpx.blog.pojo.AskAnswer;
import com.fd.wpx.blog.pojo.AskAnswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AskAnswerMapper {
    int countByExample(AskAnswerExample example);

    int deleteByExample(AskAnswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AskAnswer record);

    int insertSelective(AskAnswer record);

    List<AskAnswer> selectByExampleWithBLOBs(AskAnswerExample example);

    List<AskAnswer> selectByExample(AskAnswerExample example);

    AskAnswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AskAnswer record, @Param("example") AskAnswerExample example);

    int updateByExampleWithBLOBs(@Param("record") AskAnswer record, @Param("example") AskAnswerExample example);

    int updateByExample(@Param("record") AskAnswer record, @Param("example") AskAnswerExample example);

    int updateByPrimaryKeySelective(AskAnswer record);

    int updateByPrimaryKeyWithBLOBs(AskAnswer record);

    int updateByPrimaryKey(AskAnswer record);
}